<%@page import="wrapper.CartMovie"  %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript">

function validate(){
   
    if(document.addBalance.amount.value=="")
    {
 alert("Please enter amount");
 document.addBalance.amount.focus();
 return false;
    }
   
   
    return true;
}
    </script>

<%@ include file="/title.html" %>
</head>
<body>
<table width="100%">
<%@ include file="/header.jsp" %>

<tr valign="top"><td align="center" height="300px">
<table width="100%">

<tr valign="top" height="50px">
<td align="center">
<%@ include file="/headerLinks.jsp" %>
</td>
</tr>
<tr><td align="center" height="40px" colspan="2" valign="top"><h3>Cart</h3></td></tr>
<% if(request.getAttribute("message") != null) { %>
<tr><td align="center" style="color:red"><%= request.getAttribute("message") %></td></tr>
<% } %>


<tr>
<td align="center">
<table>
<tr>
<td align="center">Available Balance: </td>
<td><%=request.getAttribute("balance") %></td>
</tr>

<form name="addBalance" action="Balance" method="post" >

<tr>
<td align="left">Amount </td>
<td><input type="text" name="amount" id="amount"></td>
</tr>
<tr>
<td height="5px">
</td>
</tr>
<tr>
<td colspan="2" align="cen00ter">
<input type="submit" name="submit" value="Add Balance">
<input type="reset" name="reset" value="Reset">
</td>
</tr>

</form>
</table>
</td>
</tr>
</table>
</td>
</tr>

<%@ include file="/bottom.html" %>
</table>
</body>
</html>